package com.dbq.fast.common.net.mock.mockApi;

import com.dbq.fast.common.net.mock.MockInterface;

public class MockAccessWbProfile implements MockInterface {

    public static final String URL = "https://api.weibo.com/2/users/show.json";

    @Override
    public byte[] getResponse(String url) {
        String result = "{\n" +
                "    \"id\": 1404376560,\n" +
                "    \"screen_name\": \"zaku\",\n" +
                "    \"name\": \"zaku\",\n" +
                "    \"province\": \"11\",\n" +
                "    \"city\": \"5\",\n" +
                "    \"location\": \"北京 朝阳区\",\n" +
                "    \"description\": \"人生五十年，乃如梦如幻；有生斯有死，壮士复何憾。\",\n" +
                "    \"url\": \"http://blog.sina.com.cn/zaku\",\n" +
                "    \"profile_image_url\": \"http://tp1.sinaimg.cn/1404376560/50/0/1\",\n" +
                "    \"domain\": \"zaku\",\n" +
                "    \"gender\": \"m\",\n" +
                "    \"followers_count\": 1204,\n" +
                "    \"friends_count\": 447,\n" +
                "    \"statuses_count\": 2908,\n" +
                "    \"favourites_count\": 0,\n" +
                "    \"created_at\": \"Fri Aug 28 00:00:00 +0800 2009\",\n" +
                "    \"following\": false,\n" +
                "    \"allow_all_act_msg\": false,\n" +
                "    \"geo_enabled\": true,\n" +
                "    \"verified\": false,\n" +
                "    \"status\": {\n" +
                "        \"created_at\": \"Tue May 24 18:04:53 +0800 2011\",\n" +
                "        \"id\": 11142488790,\n" +
                "        \"text\": \"我的相机到了。\",\n" +
                "        \"source\": \"<a href=\\\"http: //weibo.com\\\" rel=\\\"nofollow\\\">新浪微博</a>\",\n" +
                "        \"favorited\": false,\n" +
                "        \"truncated\": false,\n" +
                "        \"in_reply_to_status_id\": \"\",\n" +
                "        \"in_reply_to_user_id\": \"\",\n" +
                "        \"in_reply_to_screen_name\": \"\",\n" +
                "        \"geo\": null,\n" +
                "        \"mid\": \"5610221544300749636\",\n" +
                "        \"annotations\": [],\n" +
                "        \"reposts_count\": 5,\n" +
                "        \"comments_count\": 8\n" +
                "    },\n" +
                "    \"allow_all_comment\": true,\n" +
                "    \"avatar_large\": \"http://tp1.sinaimg.cn/1404376560/180/0/1\",\n" +
                "    \"verified_reason\": \"\",\n" +
                "    \"follow_me\": false,\n" +
                "    \"online_status\": 0,\n" +
                "    \"bi_followers_count\": 215\n" +
                "}";
        return result.getBytes();
    }
}
